import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppRoutingModule } from './app-routing.module';

import { AppComponent } from './app.component';
import { ZhomeComponent } from './zhome/zhome.component';
import { LoginComponent } from './login/login.component';
import { MyHeaderComponent } from './my-header/my-header/my-header.component';
import {GetInfoService} from './services/get-info.service';
import {HttpClientModule} from '@angular/common/http';
import { RegisterComponent } from './register/register.component';
import { OrderComponent } from './order/order.component';
import { ChildAccountComponent } from './order/child-account/child-account.component';
import { ChildOrderComponent } from './order/child-order/child-order.component';
import { ChildIntegralComponent } from './order/child-integral/child-integral.component';
import { ChildIntegralOrderComponent } from './order/child-integral-order/child-integral-order.component';
import { ChildWalletComponent } from './order/child-wallet/child-wallet.component';
import { ChildExchangeComponent } from './order/child-exchange/child-exchange.component';
import { ChildPersonComponent } from './order/child-person/child-person.component';
import { ChildAdressComponent } from './order/child-adress/child-adress.component';
import { ChildCollectionComponent } from './order/child-collection/child-collection.component';
import { ChildBrowseComponent } from './order/child-browse/child-browse.component';
import { ChildPasswordComponent } from './order/child-password/child-password.component';
import { ChildNewComponent } from './order/child-new/child-new.component';
import { ChildFeedBackComponent } from './order/child-feed-back/child-feed-back.component';
import { GeneralComponent } from './general/general.component';
import {StchengComponent} from './stcheng/stcheng.component';
import {SjfscComponent} from './sjfsc/sjfsc.component';
import {FormsModule} from '@angular/forms';
import { ShopCarComponent } from './shop-car/shop-car.component';
import {MessageService} from "./services/message.service";
import { FilterPipe } from './pipe/filter.pipe';
import {LoginService} from "./services/login.service";
import {ExitService} from "./services/exit.service";
import {CanAcitveGuard} from "./guard/can-acitve.guard";
import { AuxComponent } from './aux/aux.component';
import { MyFooterComponent } from './my-footer/my-footer.component';
import { ChildUpdateComponent } from './order/child-update/child-update.component';
import { SousuoComponent } from './sousuo/sousuo.component';


@NgModule({
  declarations: [
    AppComponent,
    ZhomeComponent,
    LoginComponent,
    MyHeaderComponent,
    RegisterComponent,
    OrderComponent,
    ChildAccountComponent,
    ChildOrderComponent,
    ChildIntegralComponent,
    ChildIntegralOrderComponent,
    ChildWalletComponent,
    ChildExchangeComponent,
    ChildPersonComponent,
    ChildAdressComponent,
    ChildCollectionComponent,
    ChildBrowseComponent,
    ChildPasswordComponent,
    ChildNewComponent,
    ChildFeedBackComponent,
    GeneralComponent,
    StchengComponent,
    SjfscComponent,
    ShopCarComponent,
    FilterPipe,
    AuxComponent,
    MyFooterComponent,
    ChildUpdateComponent,
    SousuoComponent
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    HttpClientModule,
    FormsModule
  ],
  providers: [GetInfoService, MessageService, LoginService, ExitService, CanAcitveGuard],
  bootstrap: [AppComponent]
})
export class AppModule { }
